package part;

import com.example.model.Student;

import java.util.List;

public interface StudentDAO {
    Student findByStudentIdAndPassword(String studentId, String password);
    List<Student> findAll();
    int insert(Student student);
    int update(Student student);
    int delete(String studentId);
    // 模糊查询学生信息
    List<Student> searchStudents(String studentId, String studentName, String sex);
    // 检查学号是否已存在
    boolean checkStudentIdExists(String studentId);
}